
package com.ryskoo.customer.customerlevel.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author xman
 */
@Entity
@Table(name = "CUS_CUSTOMER_LEVEL")
public class CustomerLevelPO extends BasicPO {
	
	private static final long serialVersionUID = -738263808808382449L;

	/** 等级名称 */
    @Column(name = "name", length = 30)
    private String name;
    
    /** 等级图标 */
    @Column(name = "image", length = 128)
    private String image;
    
    /** 等级折扣 */
    @Column(name = "discount", columnDefinition= "decimal")
    private double discount = 1;
    
    /** 等级所需积分 */
    @Column(name = "integral")
    private int integral;
    
    /** 等级备注 */
    @Column(name = "note", length = 128)
    private String note;
    
    /** 所属人 */
    @Column(name = "oper_uuid", length = 32)
    private String operUuid;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public int getIntegral() {
		return integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getOperUuid() {
		return operUuid;
	}

	public void setOperUuid(String operUuid) {
		this.operUuid = operUuid;
	}

    
}
